package com.test.excel;

//import com.alibaba.excel.context.AnalysisContext;
//import com.alibaba.excel.event.AnalysisEventListener;
//import com.alibaba.excel.read.event.AnalysisEventListener;
//import com.alibaba.fastjson.JSONObject;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
//public class ReadExcelListener extends AnalysisEventListener<MonitorTabExcel> {
//
//    private static final Logger logger = LoggerFactory.getLogger(ReadExcelListener.class);
//
//    @Override
//    public void invoke(MonitorTabExcel monitorTabExcel, AnalysisContext analysisContext) {
//        logger.info("解析到一条数据: {}", JSONObject.toJSONString(monitorTabExcel));
//    }
//
//    @Override
//    public void doAfterAllAnalysed(AnalysisContext analysisContext) {
//
//    }
//}
